home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 9943 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  954 b 

  1. Path: wmin.ac.uk!usenet
  2. From: Idoia Lertxundi <gsoec@wmin.ac.uk>
  3. Newsgroups: comp.lang.c
  4. Subject: Structure and array quick question, a.s.a.p. please
  5. Date: 14 Mar 1996 16:27:10 GMT
  6. Organization: Westminster University
  7. Message-ID: <4i9hcu$t6d@badger.wmin.ac.uk>
  8. NNTP-Posting-Host: ux214.wmin.ac.uk
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.1N (X11; I; SunOS 4.1.3_U1 sun4m)
  13. X-URL: news:comp.lang.c/150660-150760
  14.  
  15. Hello c-friends I have a questions which may be too easy for some of you.
  16.  
  17. I have a structure lets say B and one of this member is a char array[10] O.K.?
  18. I need to read a list of characters lets say name1,name2,name3,name4 into
  19. this array but storing each name in each index. When I
  20. strcpy(struct->array,namearray) is OK but if 
  21. struct->array=struct->array++
  22. is WRONG.
  23.  
  24. I hope someone will understand me.
  25.  
  26. Thank you email me and the newsgroup.
  27.  
  28. e-mail: gsoec@wmin.ac.uk
  29.  
  30.